﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Navigant.Infrastructure.DomainBase
{
    public class HtmlImageData
    {
        private string name;
        private string fileExtension;
        private int height;
        private int width;
        private string relativeUrl;
        private byte[] rawData;

        public HtmlImageData(string name, string fileExtension,
            int height, int width, string relativeUrl, byte[] rawData)
        {
            this.name = name;
            this.fileExtension = fileExtension;
            this.height = height;
            this.width = width;
            this.relativeUrl = relativeUrl;
            this.rawData = rawData;
        }

        public string Name
        {
            get { return this.name; }
        }

        public string FileExtension
        {
            get { return this.fileExtension; }
        }

        public int Height
        {
            get { return this.height; }
        }

        public int Width
        {
            get { return this.width; }
        }

        public string RelativeUrl
        {
            get { return this.relativeUrl; }
        }

        public byte[] RawData
        {
            get { return this.rawData; }
        }
    }
}
